package com.demo6;

import com.demo2.Inter;

public class InterImpl implements InterA,InterB {
    @Override
    public void method() {
        System.out.println("实现类重写的method抽象方法");
    }

    @Override
    public void show() {
        InterA.super.show();
        InterB.super.show();
        System.out.println("重写接口中的show方法");
    }
}
